.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}
/* 移动设备的样式 */
@media（max-width：768px） {
  .App-header {
    flex-direction: column;
    padding: 15px;
  }
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* <<<<<<< HEAD:uchain/src/App.css */
/* About Section Styles */
.about-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #aeb3cc 0%, #126265 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-content {
  display: grid;
  gap: 50px;
}

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-intro h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffd700;
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Tech Directions Styles */
.tech-directions {
  text-align: center;
  margin: 40px 0;
}

.tech-directions h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ffd700;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.tech-card.frontend:hover {
  border-color: #ff6b6b;
  box-shadow: 0 25px 50px rgba(255, 107, 107, 0.3);
}

.tech-card.backend:hover {
  border-color: #4ecdc4;
  box-shadow: 0 25px 50px rgba(78, 205, 196, 0.3);
}

.tech-card.blockchain:hover {
  border-color: #45b7d1;
  box-shadow: 0 25px 50px rgba(69, 183, 209, 0.3);
}

.tech-card.ai:hover {
  border-color: #96ceb4;
  box-shadow: 0 25px 50px rgba(150, 206, 180, 0.3);
}

.tech-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.tech-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffd700;
  font-weight: 600;
}

.tech-card p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 20px;
}

.tech-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tech-skills span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.tech-skills span:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.about-mission,
.about-vision {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-mission h3,
.about-vision h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.about-mission p,
.about-vision p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* Teachers Section */
.teachers-section {
  position: relative;
  padding: 80px 0;
  color: #1f2937;
  overflow: hidden;
}

.teachers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./images/logo.png") center/420px no-repeat;
  opacity: 0.08;
  filter: grayscale(100%);
  pointer-events: none;
}

.teachers-title {
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.teachers-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.teacher-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 22px 22px 24px;
  border: 1px solid #eef2f7;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.teacher-head {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.teacher-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  margin-right: 10px;
}

.tag-purple {
  background: #7c3aed;
}
.tag-violet {
  background: #8b5cf6;
}
.tag-green {
  background: #10b981;
}
.tag-teal {
  background: #14b8a6;
}

.teacher-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.teacher-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.85;
  text-align: left;
  background: rgba(124, 58, 237, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    padding: 25px 15px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tech-card {
    padding: 25px 20px;
  }

  .about-mission,
  .about-vision {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .about-intro h3,
  .about-mission h3,
  .about-vision h3,
  .tech-directions h3 {
    font-size: 1.5rem;
  }

  .about-intro p,
  .about-mission p,
  .about-vision p {
    font-size: 1rem;
  }

  .tech-card h4 {
    font-size: 1.3rem;
  }

  .tech-card p {
    font-size: 0.95rem;
  }

  .tech-skills span {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .teachers-grid {
    grid-template-columns: 1fr;
  }
}

/* Team Carousel */
.team-section {
  padding: 90px 0 70px;
  background: #f8fafc;
}

.team-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* 扩大展示区域高度 */
.team-slide {
  height: 520px; /* 原360 -> 520，放大可视区域 */
  background-size: cover;
  background-position: center center;
}

/* 关闭旧CSS自动滚动（若存在则覆盖） */
.team-slides {
  animation: none !important;
}

/* 边缘淡出遮罩，避免硬切边缘感 */
.team-carousel::before,
.team-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 36px; /* 原80px -> 36px，羽化更窄 */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.team-carousel::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 250, 252, 1),
    rgba(248, 250, 252, 0)
  );
}
.team-carousel::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(248, 250, 252, 1),
    rgba(248, 250, 252, 0)
  );
}

/* Arrows */
.team-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  color: #111827;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}
.team-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
}
.arrow-left {
  left: 16px;
}
.arrow-right {
  right: 16px;
}

/* Dots */
.team-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.team-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.team-dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Team Stats Standalone Section */
.team-stats-section {
  position: relative;
  background: #0b0f14 url("./images/background8.jpg") center/cover no-repeat;
  padding: 40px 0; /* 更接近示例带留白 */
}
.team-stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.team-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}
.stat-item {
  text-align: center;
}
.stat-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 2px;
}
.stat-number {
  font-size: 52px;
  font-weight: 900;
  margin: 8px 0 6px;
}
.stat-desc {
  font-size: 16px;
  opacity: 0.95;
}
.stat-or {
  font-size: 36px;
  font-weight: 900;
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .team-stats-section {
    padding: 30px 0;
  }
  .stat-title {
    font-size: 30px;
  }
  .stat-number {
    font-size: 42px;
  }
  .stat-or {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .team-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stat-or {
    display: none;
  }
}

/* 响应式高度 */
@media (max-width: 1024px) {
  .team-slide {
    height: 520px;
  }
}
@media (max-width: 768px) {
  .team-slide {
    height: 300px;
  }
}

/* Projects Gallery */
.projects-section {
  padding: 70px 0;
}
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 24px;
  align-items: start; /* 避免不同高造成拉伸 */
}
.project-img {
  width: 100%;
  height: auto; /* 自适应高度，完整展示 */
  object-fit: contain; /* 不裁剪 */
  background: #fff; /* 透明区域有白底更干净 */
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.qq-group-link {
  display: inline-block;
  background: #2b6cb0;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}
.qq-group-link:hover {
  background: #2c7be5;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .projects-gallery {
    grid-template-columns: 1fr;
  }
  .project-img {
    height: auto;
  }
}
======= main {
  padding: 24px;
  text-align: left;
}

section {
  margin-bottom: 40px;
}

section h2 {
  margin: 0 0 12px 0;
}
